package vn.team.clipxonxao.request;

import vn.team.clipxonxao.respone.CategoryRespone;

import com.mk.fw.connection.APIDataResponse;
import com.mk.fw.connection.APIParams;
import com.mk.fw.connection.APIRequest;
import com.mk.fw.connection.APIResponse;

public class CategoryRequest extends APIRequest {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1006910320371767213L;

	@Override
	public APIParams getParams() {
		APIParams param = new APIParams();
		param.addParams("cmd", "getcategory");
		param.addParams("param", "appid");
		return param;
	}

	@Override
	public APIResponse parseResponse(APIDataResponse arg0) {
		return new CategoryRespone(arg0);
	}

}
